package com.recipes.nosdcard;

import com.recipes.app.R;

import android.app.Activity;
import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

public class NoSD_AboutApp extends Activity {

	TextView txtAbout;
	ImageView imgBack;

	/**
	 * the value of this attribute is about application description. you can
	 * change it with your own. it also accept html tag.
	 */
	String aboutContent = "Recipes App is an application under Android platform "
			+ "which can be used to create application about food recipes. "
			+ "it's designed and developed by My team.<br /><br />"
			+ "&copy; 2012 Recipes App. All rights reserved.";

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.about_app);

		imgBack = (ImageView) findViewById(R.id.imgBack);
		txtAbout = (TextView) findViewById(R.id.txtAbout);
		txtAbout.setText(Html.fromHtml(aboutContent));
		imgBack.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				// TODO Auto-generated method stub

				finish();
			}
		});
	}
}
